package sd.rmi.simple.server;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import sd.rmi.simple.interfaces.IServerObject;

/**
 *
 * @author blackdevil
 */
public class ServerObject extends UnicastRemoteObject implements IServerObject {

    /**
	 * 
	 */
	private static final long serialVersionUID = 8164775104623490720L;

	public ServerObject() throws RemoteException {
        super();
    }

    @Override
    public String sayHello() throws RemoteException {
        return "HelloSicily";
    }

	@Override
	public Person getPerson() throws RemoteException {
		return new Person();
	}

    
}